package com.babster631folder2;

import com.babster631.Event1;
import com.babster631.thunderarmor;
import com.babster631.thundersword;
import com.babster631.thundersword;
import com.babster631.util;

import scala.languageFeature;



import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.common.ForgeHooks;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.Init;
import cpw.mods.fml.common.Mod.Instance;
import cpw.mods.fml.common.Mod.PostInit;
import cpw.mods.fml.common.Mod.PreInit;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.network.NetworkMod;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.EnumArmorMaterial;
import net.minecraft.item.EnumToolMaterial;
import net.minecraft.item.Item;
import net.minecraft.item.ItemSeeds;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.Potion;
import net.minecraft.stats.Achievement;
import net.minecraft.stats.AchievementList;

@Mod(modid = "babster631modbase", name = "babster631modbase", version = "0.0.0")
@NetworkMod(clientSideRequired = true, serverSideRequired = false)
public class babster631modbase 
{
	
	@Instance("babster631modbase")
	public static babster631modbase instance;
	
	@SidedProxy(clientSide="com.babster631folder2.ClientProxy", serverSide="com.babster631folder2.CommonProxy")
	public static CommonProxy proxy;
	public static Item thunderSword = new com.babster631.thundersword(6310, EnumToolMaterial.EMERALD).setUnlocalizedName("Thunder Sword");
	public static Item thunderingot = new com.babster631.thunderingot(6311).setUnlocalizedName("Thunder Ingot");
	public static Item thunderaxe = new com.babster631.thunderaxe(6312, EnumToolMaterial.EMERALD).setUnlocalizedName("Thunder Axe");
	public static Item thunderpickaxe = new com.babster631.thunderpickaxe(6313, EnumToolMaterial.EMERALD).setUnlocalizedName("Thunder Pickaxe");
	public static Item thunderspade = new com.babster631.thunderspade(6314, EnumToolMaterial.EMERALD).setUnlocalizedName("Thunder Spade");
	public static Item thunderhoe = new com.babster631.thunderhoe(6315, EnumToolMaterial.EMERALD).setUnlocalizedName("Thunder Hoe");
	public static Block moddedspawner = new com.babster631.moddedspawner(3000, Material.anvil).setUnlocalizedName("Modded Spawner");
	public static Item thunderpearl = new com.babster631.thunderpearl(6316).setUnlocalizedName("Thunder Pearl");
	public static Item helmetthunder;// = new com.addeditems.helmetSuper(632, SuperArmor, proxy.addArmor("SuperArmor"), 0).setUnlocalizedName("helmetSuper");
    
    public static Item chestplatethunder;// = new com.addeditems.chestplateSuper(633, SuperArmor, proxy.addArmor("SuperArmor"), 1).setUnlocalizedName("chestplateSuper");
   
    public static Item legsthunder;// = new com.addeditems.legsSuper(634, SuperArmor, proxy.addArmor("SuperArmor"), 2).setUnlocalizedName("legsSuper");
   
    public static Item bootsthunder;// = new com.addeditems.bootsSuper(635, SuperArmor, proxy.addArmor("SuperArmor"), 3).setUnlocalizedName("bootsSuper");


    public static final Achievement theApoc10 = new Achievement(6311, "theApoc10", -1, 3, thunderSword, AchievementList.buildWorkBench).setSpecial().registerAchievement();
	@PreInit
	public void preInit(FMLPreInitializationEvent event)
	{
	}
	@Init
	public void load(FMLInitializationEvent event)
	{
		
		
helmetthunder = new thunderarmor(3632, EnumArmorMaterial.DIAMOND, proxy.addArmor("thunderarmor"), 0).setUnlocalizedName("helmetthunder");
        
        chestplatethunder = new thunderarmor(3633, EnumArmorMaterial.DIAMOND, proxy.addArmor("thunderarmor"), 1).setUnlocalizedName("chestplatethunder");
       
        legsthunder = new thunderarmor(3634, EnumArmorMaterial.DIAMOND, proxy.addArmor("thunderarmor"), 2).setUnlocalizedName("legsthunder");
       
        bootsthunder = new thunderarmor(3635, EnumArmorMaterial.DIAMOND, proxy.addArmor("thunderarmor"), 3).setUnlocalizedName("bootsthunder");
        util.recipes();
        
        //Used to create the Item's name In-Game
        LanguageRegistry.instance().addStringLocalization("achievement.theApoc10", "en_US", "Unleash the power!");
        LanguageRegistry.instance().addStringLocalization("achievement.theApoc10.desc", "en_US", "Craft a Thunder Sword");
		LanguageRegistry.addName(thunderSword, "Thunder Sword");
		LanguageRegistry.addName(thunderingot, "Thunder Ingot");
		LanguageRegistry.addName(thunderaxe, "Thunder Axe");
		LanguageRegistry.addName(thunderpickaxe, "Thunder Pickaxe");
		LanguageRegistry.addName(thunderspade, "Thunder Shovel");
		LanguageRegistry.addName(thunderhoe, "Thunder Hoe");
		LanguageRegistry.addName(thunderpearl, "Thunder Pearl");
		LanguageRegistry.addName(helmetthunder, "Thunder Helmet");
        LanguageRegistry.addName(chestplatethunder, "Thunder Chestplate");
        LanguageRegistry.addName(bootsthunder, "Thunder Boots");
        LanguageRegistry.addName(legsthunder, "Thunder Leggings");
		GameRegistry.registerBlock(moddedspawner, moddedspawner.getUnlocalizedName());
		GameRegistry.registerCraftingHandler(new Event1());
		

		
		proxy.registerRenderers();
		
		
	}
	
	
	/**
	 * 
	 */
	private void Gameregisters() {
		// TODO Auto-generated method stub
		
	}
	@PostInit 
	public void postInit(FMLPostInitializationEvent event)
	{
	}
}
